package com.hc.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

/**
 * @author hecai
 */

/**
 * 商品类别表
 */
@ApiModel(value = "商品类别查询条件")
@Getter
@Setter
@ToString
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class ProductCategoryCondition extends PageParam {

    /**
     * 类别编号
     */
    @ApiModelProperty(value = "类别编号")
    private Integer id;

    /**
     * 类别名称
     */
    @ApiModelProperty(value = "类别名称")
    private String name;

    /**
     * 备注信息
     */
    @ApiModelProperty(value = "备注信息")
    private String info;

    /**
     * 父类别编号
     */
    @ApiModelProperty(value = "父类别编号")
    private Integer pid;

    /**
     * 状态：1上架，2下架
     */
    @ApiModelProperty(value = "状态：1上架，2下架")
    private Integer status;

}